package com.example.xd.myijkplayer.textureview

import tv.danmaku.ijk.media.player.IMediaPlayer
import tv.danmaku.ijk.media.player.IjkTimedText

/**
 * @auther XuDan on 2020/9/15.
 */
interface StardTextureListener {
    fun onSeekComplete(p0: IMediaPlayer?)
    fun onTimedText(p0: IMediaPlayer?, p1: IjkTimedText?)
    fun onVideoSizeChanged(p0: IMediaPlayer?, p1: Int, p2: Int, p3: Int, p4: Int)
    fun onInfo(p0: IMediaPlayer?, p1: Int, p2: Int): Boolean
    fun onError(p0: IMediaPlayer?, p1: Int, p2: Int): Boolean
    fun onCompletion(p0: IMediaPlayer?)
    fun onBufferingUpdate(p0: IMediaPlayer?, p1: Int)
    fun onPrepared(mediaPlayer: IMediaPlayer?)
}